Raised This Month: $51 Target: $400
 12% 

[SourceReports] Player reporting framework (with Steam support!)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-12-2013 , 19:40   [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #1

https://github.com/dvarnai/SourceReports

Ill just leave this here until its further in the progress, smart people can already get it working
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 04-12-2013 at 19:59.
Zephyrus is offline
ocwoody
AlliedModders Donor
Join Date: Nov 2010
Location: huh
Old 04-12-2013 , 21:08   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #2

Interesting, pretty straight forward.

Thanks for sharing.

Last edited by ocwoody; 04-12-2013 at 21:08.
ocwoody is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-12-2013 , 21:49   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #3

if anyone sets it up and crashs on sending the message please let me know, the steamclient libary versions are different per game and platform and i dont have test servers for the most combinations, its probably just a gamedata issue though
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-13-2013 , 06:08   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #4

Ive added master and relay server mode, API should be final and unless bugs are found the sourcereports.sp too. Final release comes once I finish IRC support too and offsets are sorted out for different games. Right now they are mostly assumptions.
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 04-13-2013 , 08:39   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #5

So if i understand correctly this send you a message with the reason someone is reported on steam? Which user sends you the message? Do i need to setup an alternative account?
__________________
cool_myll is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-13-2013 , 09:01   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #6

Quote:
Originally Posted by cool_myll View Post
So if i understand correctly this send you a message with the reason someone is reported on steam? Which user sends you the message? Do i need to setup an alternative account?
yes it sends message on steam with the account specified in the cfg
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 04-13-2013 , 09:56   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #7

I set up the account and the cfg but can you help me with this?

Quote:
// This file was auto-generated by SourceMod (v1.5.0-dev+3824)
// ConVars for plugin "sourcereports.smx"


// Cooldown in seconds between two reports from the same person.
// -
// Default: "60"
sm_sourcereports_cooldown "60"

// Port to listen on to make this a master server for the reports.
// -
// Default: "0"
sm_sourcereports_listen_port "0"

// Magic code for the packets. In case this is a master or relay server it must be set and should be matching on both servers.
// -
// Default: ""
sm_sourcereports_magic ""

// IP of the master server. If master IP and port are set, this server will only act as a relay for the reports.
// -
// Default: ""
sm_sourcereports_master_ip ""

// Port of the master server. If master IP and port are set, this server will only act as a relay for the reports.
// -
// Default: ""
sm_sourcereports_master_port ""
Do i need to setup anything else on the game server? Do i just put the ip of the game server and a random port?

And i totally not get this: sm_sourcereports_magic
:S


EDIT: Also it cant login cause of steam guard. I get mails but nowhere to insert the code.
EDIT2: Disabled steam guard and logged in.
__________________

Last edited by cool_myll; 04-13-2013 at 10:12.
cool_myll is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-13-2013 , 10:53   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #8

Quote:
Originally Posted by cool_myll View Post
I set up the account and the cfg but can you help me with this?



Do i need to setup anything else on the game server? Do i just put the ip of the game server and a random port?

And i totally not get this: sm_sourcereports_magic
:S


EDIT: Also it cant login cause of steam guard. I get mails but nowhere to insert the code.
EDIT2: Disabled steam guard and logged in.
if you dont want other servers to connect through that account then all you have to set is the account information, if you want to have other servers connecting through it you will need to set up the rest, i will make a proper tutorial once i release the first non-test version

and yes, steamguard should be logged in, i will see if theres any sane reason to implement steam guard support into it
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 04-13-2013 at 11:01.
Zephyrus is offline
cool_myll
SourceMod Donor
Join Date: Aug 2011
Old 04-13-2013 , 11:10   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #9

I did all this i see the bot as ingame but i am not receiving messages.

Quote:
"Recipients"
{
"steam"
{
"1" "STEAM_0:1:49764**"
"2" "STEAM_0:0:175768**"
}
}
Quote:
// This file was auto-generated by SourceMod (v1.5.0-dev+3824)
// ConVars for plugin "sourcereports_steam.smx"


// Password of the Steam account that should be logged in.
// -
// Default: ""
sm_sourcereports_steam_password "insertedthepassword"

// Username of the Steam account that should be logged in.
// -
// Default: ""
sm_sourcereports_steam_username "insertedtheusername"
Also you forgot to put the folder sourcemod in the addons folder.
__________________
cool_myll is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 04-13-2013 , 11:12   Re: [SourceReports] Player reporting framework (with Steam support!)
Reply With Quote #10

Quote:
Originally Posted by cool_myll View Post
I did all this i see the bot as ingame but i am not receiving messages.



Also you forgot to put the folder sourcemod in the addons folder.
what game, what platform, this could be caused by wrong offsets as i said above, add me on steam if you dont mind and i check it out
http://steamcommunity.com/id/y4hoo
__________________
Taking private C++/PHP/SourcePawn requests, PM me.

Last edited by Zephyrus; 04-13-2013 at 11:12.
Zephyrus is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode